<template>

<div class="wrap_header" :style="{height:wrap_header_height+'px' }">
    <div class="_header" :style="{height:wrap_header_height*0.33+'px' }">
        <span>图片</span>
        <span>关注</span>
        <span>发现</span>
        <span>🔍</span>
    </div> 
    
    <div :style="{height:wrap_header_height*0.33+'px' }">
        <input type="text" placeholder="搜索">
    </div>
    <div class="nav" :style="{height:wrap_header_height*0.33+'px' }">
        <span>搞笑</span>
        <span>游戏</span>
        <span>穿搭</span>
        <span>Vlog</span>
        <span>科技数码</span>
    </div>
</div>


</template>
<script setup >
import {ref,reactive} from 'vue'
    const commomheight=document.body.clientHeight;
    let wrap_header_height=commomheight*0.15;
</script>
<style scoped >
.wrap_header{
    max-width: 600px;
    width: 100%;
    position: fixed;
    top: 0rem;
    background-color: rgb(244, 250, 252);
    box-shadow: 1px  2px rgb(203, 197, 197);
    line-height: 150%;
    z-index: 999;

}
._header{
    width: 100%;
    display: flex;
    justify-content: space-around;
}
input{
    width: 50%;
    border-radius: 5px;
    height: 80%;
    font-size: 100%;

}
.nav{
    width: 100%;

    display: flex;
    justify-content: space-around;
}
</style>